package com.share.alibaba.agetway.feign;

import com.share.alibaba.agetway.config.FeignClientConfig;
import com.share.alibaba.agetway.feign.fallback.AUserFeignClientFallback;
import com.share.alibaba.agetway.model.AccessLog;
import com.share.common.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "auser-service", configuration = FeignClientConfig.class, path = "/auser",fallback = AUserFeignClientFallback.class)
public interface AUserFeignClient {

    @RequestMapping("/saveAccessLog")
    Result saveAccessLog(AccessLog accessLog);
}
